/*
 * Copyright(c) 2020-2100 万达信息股份有限公司 版权所有
 * WONDERS INFORMATION CO., LTD. ALL RIGHTS RESERVED.
 */

package com.wondersgroup.feignclients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author: huym
 * @version: 1.0
 * @date: 2020/11/23
 */
@FeignClient("product")
public interface ProductClient {

    @GetMapping("/product/find")
    Map<String, Object> find(@RequestParam("id") String id);
}
